package com.zky.mapper;

import com.zky.entity.Hotel;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface HotelMapper {
    List<Hotel> selectAll();
    
    List<Hotel> searchByName(String name);
    
    Hotel selectById(Integer id);
    
    void insert(Hotel hotel);
    
    void update(Hotel hotel);
    
    void deleteById(Integer id);
} 